package demo3;

import java.io.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-08-09
 * Time: 15:42
 */
public class TestDemo4 {

    public static void main(String[] args) throws FileNotFoundException {
        //字节输出流转字符输出流
        OutputStream outputStream = new FileOutputStream("text.txt");
        OutputStreamWriter outputStreamWriter = new OutputStreamWriter(outputStream);
        //字节输入流转字符输入流
        InputStream inputStream = new FileInputStream("text.ext");;
        InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
    }


}
